package com.showcai.dao;

import com.showcai.module.Certificate;

import java.util.List;
import java.util.Map;

public interface CertificateMapper {

    int deleteByPrimaryKey(Long tid);

    int insertCertificate(Certificate record);

    int insertSelective(Certificate record);


    Certificate getCertificateByCertificateId(String certificateId);


    int updateByPrimaryKeySelective(Certificate record);

    int updateByPrimaryKey(Certificate record);

    List<Certificate>   getPageInfoCertificateList(Map<String, String> map);
    List<Certificate>   getCertificateListFromPackByUserId(Long userId);
    List<Certificate>   getCertificateFromPackBycertificateId(String certificateId);
    Certificate getCertificateByCertificateBatchId(Long certificateBatchId);
}